//导入axios
import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)

//创建instance实例
const instance = axios.create({
    baseURL: 'http://toutiao.itheima.net',
    timeout:10000
})

<<<<<<< HEAD
=======


>>>>>>> user
export default instance